﻿@model INNOVACALL.Framework.Common.Models.ViewModels.MetaModels.LayoutMenus.LayoutMenu_MetaModel
@Html.HiddenFor(m => m.Id, new { @id = "hidEditedLayoutMenuId" })
@Html.HiddenFor(m => m.FK_LayoutMenu)
@Html.HiddenFor(m => m.SortIndex)
@Html.HiddenFor(m => m.RefreshMenuBarLanguage)
<fieldset class="ui-widget ui-widget-content ui-corner-all bottomMargin10 LayoutMenuFieldSet">
    <legend></legend>
    <fieldset class="ui-widget ui-widget-content ui-corner-all bottomMargin10 LayoutMenuEditFieldSet">
        <legend></legend>
        <div class="FieldsetDiv">
            <ol class="LayoutMenuProps">
                <li class="liName">
                    @Html.LabelFor(m => m.Name)
                    @Html.TextBoxFor(m => m.Name, new { @class = "Name" })
                    @Html.ValidationMessageFor(m => m.Name)
                </li>
                <li class="liController">
                    @Html.LabelFor(m => m.Controller)
                    @Html.DropDownListFor(m => m.Controller, Model.Controllers)
                    @Html.ValidationMessageFor(m => m.Controller)
                </li>
                <li class="liAction">
                    @Html.LabelFor(m => m.DefaultAction)
                    @Html.DropDownListFor(m => m.DefaultAction, Model.DefaultActions)
                    @Html.ValidationMessageFor(m => m.DefaultAction)
                </li>
                <li class="liDisplayMenuToPublicIfPrivate">
                    @Html.LabelFor(m => m.DisplayMenuToPublicIfPrivate)
                    @Html.EditorFor(m => m.DisplayMenuToPublicIfPrivate)
                    @Html.ValidationMessageFor(m => m.DisplayMenuToPublicIfPrivate)
                </li>
            </ol>
        </div>
    </fieldset>
    @Html.EditorFor(m => m.Translations)
</fieldset>
